What does javascript:void(0) mean?
In JavaScript, javascript:void(0) is a pseudo-URL that does nothing when clicked. It’s commonly used as a placeholder in href attributes to prevent the browser from navigating to a new page while still executing JavaScript code....
read more
How to run Cron Jobs in Node.js ?
Cron Jobs: These are the tasks that run periodically by the operating system. Users can schedule commands the OS will run these commands automatically according to the given time. It is usually used for system admin jobs such as backups, logging, sending newsletters, subscription emails and more....
read more
How to enable PHP’s openssl extension to install Composer ?
To perform the secure HTTPS transfers you will need to enable the openssl extension then you have to install the composer. In this article, we will cover the enabling openssl for XAMPP as well as WAMP one by one then we will install the composer....
read more
How to copy a file from one directory to another using PHP ?
The copy() function in PHP is used to copy a file from source to target or destination directory. It makes a copy of the source file to the destination file and if the destination file already exists, it gets overwritten. The copy() function returns true on success and false on failure....
read more
Why use Question mark in TypeScript variable ?
Question marks on TypeScript variable are used to mark that variable as an optional variable. If we put the question mark when declaring a variable that variable becomes optional. The optional parameters will have value as undefined when unused....
read more
How to get form data using POST method in PHP ?
PHP provides a way to read raw POST data of an HTML Form using php:// which is used for accessing PHP’s input and output streams. In this article, we will use the mentioned way in three different ways. We will use php://input, which is a read-only PHP stream....
read more
Chrome Inspect Element Tool & Shortcut
The chrome inspects element tool is considered to be a developer tool created to debug the website....
read more
Design a typing speed test game using JavaScript
A typing test is designed to find how fast one types in a given amount of time. We will be designing a typing game using JavaScript that presents a simple typing challenge and finds the performance of typing by calculating the Characters Per Minute (CPM), Words Per Minute (WPM) and the accuracy of the typed characters.The game shows a series of quotes that have to be typed in a specified time limit, as fast as possible. A higher typing speed would show a higher WPM value. Incorrectly typed characters would be marked accordingly during typing.We will create the HTML layout first, style it using CSS and then write the logic in JavaScript. The HTML Layout: The HTML layout defines the element structure that would be shown on the page. This includes:...
read more
Data Visualization Using Chartjs and Django
Prerequisite : django installation With the growth of data, data visualization in become a import part here we will implement chart for our data in our web apps using chartjs with django. Django is a high-level Python Web framework based web framework and chartjs is an easy way to include animated, interactive graphs....
read more
How to get the path of current script using Node.js ?
We can get the path of the present script in node.js by using __dirname and __filename module scope variables....
read more
How to count number of notification on an icon?
...
read more
How to Combine multiple elements and append the result into a div using JavaScript ?
Combining multiple elements and appending elements to DOM is a crucial process, it would become a time-consuming process. If not handled properly so as a developer we should know how to update the DOM effectively. So following are the three ways to append HTML elements to DOM. The following methods are in decreasing order of time complexity....
read more